import request from '@/utils/request'

// 题卡查询-首页
export const scanQuestionCardSubjectList = (query) => {
    return request({
        url: '/scan/question/card/subject/list',
        method: 'get',
        params: query
    })
}

// 题卡查询-学校维度
export const scanQuestionCardSchoolList = (query) => {
    return request({
        url: '/scan/question/card/school/list',
        method: 'post',
        data: query
    })
}

// 题卡查询-考试学校查询
export const scanQuestionCardSchoolListSchool = (query) => {
    return request({
        url: '/scan/question/card/listSchool',
        method: 'get',
        params: query
    })
}

// 选项坐标查询查询
export const scanQuestionCardSelectAbnormal = (query) => {
    return request({
        url: '/scan/question/card/select/abnormal',
        method: 'get',
        params: query
    })
}

// 保存-处理题卡
export const scanQuestionCardSaveScanDetails = (query) => {
    return request({
        url: '/scan/question/card/save/scan/details',
        method: 'post',
        data: query
    })
}


export const downScanZip = (query) => {
    return request({
        url: '/scan/question/card/down/scan/zip',
        method: 'post',
        data: query
    })
}

export const downScanZipQueryStatus = (query) => {
    return request({
        url: '/scan/question/card/down/scan/zip/query/status',
        method: 'get',
        params: query
    })
}

export const downScanZipQuery = (query) => {
    return request({
        url: '/scan/question/card/down/scan/zip/query',
        method: 'get',
        params: query
    })
}